#include <stdio.h>
int main(){
	float x,y;
again:	scanf ("%f%f",&x,&y);
	printf("%f",(x*x+y*y)/23572);
	goto again;
	return 0; 
}
